package com.ship.contract.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ship.contract.bean.ConOperate;

import java.util.List;

/**
 * @author tangshixuan
 * @date 2023-9-1
 */
public interface ConOperateService extends IService<ConOperate> {
    /**
     * 何惧合同ID查询合同操作记录
     * @param id
     * @return
     */
    List<ConOperate> listByConId(Long id);

    /**
     * 保存合同操作记录
     * @param optType
     */
    void saveByCon(String optType,Long conId);
}
